package com.example.demo.bean;


import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

public class RegisterBean {

    @NotBlank(message = "用户名不能为空")
    private String userName;//用户名(手机号)

    @NotBlank(message = "密码不能为空")
    private String password;//用户登录密码

    @NotBlank(message = "确认密码不能为空")
    private String confirmPassword;//确认密码

    @NotBlank(message = "验证码不能为空")
    private String smsCode;//短信验证码

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassWord(String confirmPassWord) {
        this.confirmPassword = confirmPassword;
    }

    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }

}
